package com.dianping.cat.home.dal.report;

import java.util.Date;
import org.unidal.dal.jdbc.DataObject;























public class Overload
  extends DataObject
{
  private int m_id;
  private int m_reportId;
  private int m_reportType;
  private double m_reportSize;
  private Date m_period;
  private Date m_creationDate;
  private int m_keyId;
  private Date m_startTime;
  private Date m_endTime;
  private int m_type;
  private int m_maxId;
  private int m_count;

  public void afterLoad() {
/*  45 */     this.m_keyId = this.m_id;
/*  46 */     clearUsage();
  }


/*  50 */   public int getCount() { return this.m_count; }



/*  54 */   public Date getCreationDate() { return this.m_creationDate; }



/*  58 */   public Date getEndTime() { return this.m_endTime; }



/*  62 */   public int getId() { return this.m_id; }



/*  66 */   public int getKeyId() { return this.m_keyId; }



/*  70 */   public int getMaxId() { return this.m_maxId; }



/*  74 */   public Date getPeriod() { return this.m_period; }



  public int getReportId() { return this.m_reportId; }



/*  82 */   public double getReportSize() { return this.m_reportSize; }



/*  86 */   public int getReportType() { return this.m_reportType; }



/*  90 */   public Date getStartTime() { return this.m_startTime; }



/*  94 */   public int getType() { return this.m_type; }


  public Overload setCount(int count) {
/*  98 */     setFieldUsed(OverloadEntity.COUNT, true);
/*  99 */     this.m_count = count;
/* 100 */     return this;
  }

  public Overload setCreationDate(Date creationDate) {
/* 104 */     setFieldUsed(OverloadEntity.CREATION_DATE, true);
/* 105 */     this.m_creationDate = creationDate;
/* 106 */     return this;
  }

  public Overload setEndTime(Date endTime) {
/* 110 */     setFieldUsed(OverloadEntity.END_TIME, true);
/* 111 */     this.m_endTime = endTime;
/* 112 */     return this;
  }

  public Overload setId(int id) {
/* 116 */     setFieldUsed(OverloadEntity.ID, true);
/* 117 */     this.m_id = id;

/* 119 */     setFieldUsed(OverloadEntity.KEY_ID, true);
/* 120 */     this.m_keyId = id;
/* 121 */     return this;
  }

  public Overload setKeyId(int keyId) {
/* 125 */     setFieldUsed(OverloadEntity.KEY_ID, true);
/* 126 */     this.m_keyId = keyId;
/* 127 */     return this;
  }

  public Overload setMaxId(int maxId) {
/* 131 */     setFieldUsed(OverloadEntity.MAX_ID, true);
/* 132 */     this.m_maxId = maxId;
/* 133 */     return this;
  }

  public Overload setPeriod(Date period) {
/* 137 */     setFieldUsed(OverloadEntity.PERIOD, true);
/* 138 */     this.m_period = period;
/* 139 */     return this;
  }

  public Overload setReportId(int reportId) {
/* 143 */     setFieldUsed(OverloadEntity.REPORT_ID, true);
/* 144 */     this.m_reportId = reportId;
/* 145 */     return this;
  }

  public Overload setReportSize(double reportSize) {
/* 149 */     setFieldUsed(OverloadEntity.REPORT_SIZE, true);
/* 150 */     this.m_reportSize = reportSize;
/* 151 */     return this;
  }

  public Overload setReportType(int reportType) {
/* 155 */     setFieldUsed(OverloadEntity.REPORT_TYPE, true);
/* 156 */     this.m_reportType = reportType;
/* 157 */     return this;
  }

  public Overload setStartTime(Date startTime) {
/* 161 */     setFieldUsed(OverloadEntity.START_TIME, true);
/* 162 */     this.m_startTime = startTime;
/* 163 */     return this;
  }

  public Overload setType(int type) {
/* 167 */     setFieldUsed(OverloadEntity.TYPE, true);
/* 168 */     this.m_type = type;
/* 169 */     return this;
  }


  public String toString() {
/* 174 */     StringBuilder sb = new StringBuilder(1024);

/* 176 */     sb.append("Overload[");
/* 177 */     sb.append("count: ").append(this.m_count);
/* 178 */     sb.append(", creation-date: ").append(this.m_creationDate);
/* 179 */     sb.append(", end-time: ").append(this.m_endTime);
/* 180 */     sb.append(", id: ").append(this.m_id);
/* 181 */     sb.append(", key-id: ").append(this.m_keyId);
/* 182 */     sb.append(", max-id: ").append(this.m_maxId);
/* 183 */     sb.append(", period: ").append(this.m_period);
/* 184 */     sb.append(", report-id: ").append(this.m_reportId);
/* 185 */     sb.append(", report-size: ").append(this.m_reportSize);
/* 186 */     sb.append(", report-type: ").append(this.m_reportType);
/* 187 */     sb.append(", start-time: ").append(this.m_startTime);
/* 188 */     sb.append(", type: ").append(this.m_type);
/* 189 */     sb.append("]");
/* 190 */     return sb.toString();
  }
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/classes/!/com/dianping/cat/home/dal/report/Overload.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */